/**
 * FtpContent.java
 */
package org.yate.oa.model;

import org.apache.ibatis.type.Alias;


/**
 * @author Yate
 * @date Jul 19, 2014
 * @description TODO
 * @version 1.0
 */
@Alias(value = "FtpContent")
public class FtpContent extends BaseEntity<Long> {

	protected String key;
	protected String value;
	protected String type;
	protected Long length;
	protected String md5;
	protected Integer invalid;

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Long getLength() {
		return length;
	}

	public void setLength(Long length) {
		this.length = length;
	}

	public Integer getInvalid() {
		return invalid;
	}

	public void setInvalid(Integer invalid) {
		this.invalid = invalid;
	}

	public String getMd5() {
		return md5;
	}

	public void setMd5(String md5) {
		this.md5 = md5;
	}

	@Override
	public String toString() {
		return "FtpContent [id=" + super.id + ", key=" + key + ", value="
				+ value + ", type=" + type + ", length=" + length + "]";
	}

}
